package vip.source.pattern.part23.Interpreter;


/**
 * 具体表达式
 */
public class NumberExpression implements CustomExpression {
    private int number;

    public NumberExpression(int number) {
        this.number = number;
    }

    @Override
    public int interpret() {
        return number;
    }
}
